package com.bailu.zsb_back.service;

import com.bailu.zsb_back.entity.Book;
import com.github.pagehelper.PageInfo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author dell
 */
@Transactional
public interface BookService {
    @Transactional(readOnly = true)
    PageInfo<Book> findAllBooks(int page, int limit,String name);
}
